package com.smartstate.dataManagement.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("asset_situation")
public class AssetSituation implements Serializable {

    /**
     * 主键ID
     */
    @TableId(type = IdType.INPUT)
    @TableField(value = "id")
    private int id;

    /**
     * 资产类型
     */
    @TableField(value = "assetType")
    private String assetType;

    /**
     *  资产名称
     */
    @TableField(value = "assetName")
    private String assetName;

    /**
     * 资产数量
     */
    @TableField(value = "assetNumber")
    private String assetNumber;

    /**
     * 资产总值
     */
    @TableField(value = "assetWorth")
    private String assetWorth;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private Date createTime;


    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    @TableField(value = "createUser", fill = FieldFill.INSERT)
    private String createUser;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @TableField(value = "updateTime", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @TableField(value = "updateUser", fill = FieldFill.UPDATE)
    private String updateUser;
}

